import request from '@/utils/request'

// 查询扫码率列表
export function listBcr_percent(query) {
  return request({
    url: '/wcs/bcr_percent/list',
    method: 'get',
    params: query
  })
}

// 查询扫码率详细
export function getBcr_percent(id) {
  return request({
    url: '/wcs/bcr_percent/' + id,
    method: 'get'
  })
}

// 新增扫码率
export function addBcr_percent(data) {
  return request({
    url: '/wcs/bcr_percent',
    method: 'post',
    data: data
  })
}

// 修改扫码率
export function updateBcr_percent(data) {
  return request({
    url: '/wcs/bcr_percent',
    method: 'put',
    data: data
  })
}

// 删除扫码率
export function delBcr_percent(id) {
  return request({
    url: '/wcs/bcr_percent/' + id,
    method: 'delete'
  })
}

// 导出扫码率
export function exportBcr_percent(query) {
  return request({
    url: '/wcs/bcr_percent/export',
    method: 'get',
    params: query
  })
}